home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 24
/
PC Gamer IT CD 24 1-2.iso
/
PATCHES
/
ZNPATCH.EXE
/
ZNPatch
/
Addon
/
subpatch.zfs
/
gjpe.scr
< prev
next >
Wrap
Text File
|
1997-06-04
|
28KB
|
636 lines
# THIS SCRIPT WAS GENERATED ON 03-16-1996 AT 21:05:06
world G # Garyworld
room J # Garyroom
nodeview PE # Preferences Screen (1426)
# SCRIPT VERSION: 24.2
# PUZZLES
puzzle:23107 { # INITIAL GJPE
criteria {
}
results {
action:assign(02609, [51]) # insert
action:assign(23196, [53])
action:assign(23110, [57])
action:assign(23109, [58])
action:assign(23177, [58])
action:assign(23197, [57])
action:set_screen(gjpeb11c.tga)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23115 { # GJPE Venus Puzzle On
criteria {
[23107] = 1 # INITIAL GJPE
[23109] = 1 # GJPE Venus Toggle
}
results {
action:assign(23116, 0) # GJPE Venus Puzzle Off
action:assign(58, 1)
action:set_partial_screen(0 165 gjpeah3c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23116 { # GJPE Venus Puzzle Off
criteria {
[23107] = 1 # INITIAL GJPE
[23109] = 0 # GJPE Venus Toggle
}
results {
action:assign(23115, 0) # GJPE Venus Puzzle On
action:assign(58, 0)
action:set_partial_screen(0 165 gjpeah1c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23117 { # GJPE 3D Sound On
criteria {
[23110] = 1 # GJPE 3D Sound Toggle
}
results {
action:assign(23118, 0) # GJPE 3D Sound Off
action:assign(57, 1)
action:set_partial_screen(175 165 gjpeaq1c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23118 { # GJPE 3D Sound Off
criteria {
[23110] = 0 # GJPE 3D Sound Toggle
}
results {
action:assign(23117, 0) # GJPE 3D Sound On
action:assign(57, 0)
action:set_partial_screen(175 165 gjpeaq2c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23121 { # GJPE Fast Rotation Puzzle
criteria {
[23112] = 1 # GJPE Fast Pana Rotation
}
results {
action:assign(23184, 0) # GJPE Medium-Fast Rotation Puzzle
action:assign(23185, 0) # GJPE Medium-Slow Rotation Puzzle
action:assign(53, 0)
action:assign(23122, 0) # GJPE Medium Rotation Puzzle
action:assign(23123, 0) # GJPE Slow Rotation Puzzle
action:assign(23112, 0) # GJPE Fast Pana Rotation
action:assign(23121, 0) # GJPE Fast Rotation Puzzle
action:disable_control(23112) # GJPE Fast Pana Rotation
action:enable_control(23113) # GJPE Medium Pana Rotation
action:enable_control(23114) # GJPE Slow Pana Rotation
action:enable_control(23182) # GJPE Medium-Fast Pana Rotation
action:enable_control(23183) # GJPE Medium-Slow Pana Rotation
action:set_partial_screen(176 0 gjpeap5c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23122 { # GJPE Medium Rotation Puzzle
criteria {
[23113] = 1 # GJPE Medium Pana Rotation
}
results {
action:assign(23184, 0) # GJPE Medium-Fast Rotation Puzzle
action:assign(23185, 0) # GJPE Medium-Slow Rotation Puzzle
action:assign(53, 540)
action:assign(23113, 0) # GJPE Medium Pana Rotation
action:assign(23121, 0) # GJPE Fast Rotation Puzzle
action:assign(23123, 0) # GJPE Slow Rotation Puzzle
action:assign(23122, 0) # GJPE Medium Rotation Puzzle
action:disable_control(23113) # GJPE Medium Pana Rotation
action:enable_control(23112) # GJPE Fast Pana Rotation
action:enable_control(23114) # GJPE Slow Pana Rotation
action:enable_control(23182) # GJPE Medium-Fast Pana Rotation
action:enable_control(23183) # GJPE Medium-Slow Pana Rotation
action:set_partial_screen(176 0 gjpeap3c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23123 { # GJPE Slow Rotation Puzzle
criteria {
[23114] = 1 # GJPE Slow Pana Rotation
}
results {
action:assign(23185, 0) # GJPE Medium-Slow Rotation Puzzle
action:assign(23184, 0) # GJPE Medium-Fast Rotation Puzzle
action:assign(23122, 0) # GJPE Medium Rotation Puzzle
action:assign(23121, 0) # GJPE Fast Rotation Puzzle
action:assign(23123, 0) # GJPE Slow Rotation Puzzle
action:assign(23114, 0) # GJPE Slow Pana Rotation
action:assign(53, 180)
action:disable_control(23114) # GJPE Slow Pana Rotation
action:enable_control(23113) # GJPE Medium Pana Rotation
action:enable_control(23112) # GJPE Fast Pana Rotation
action:enable_control(23182) # GJPE Medium-Fast Pana Rotation
action:enable_control(23183) # GJPE Medium-Slow Pana Rotation
action:set_partial_screen(176 0 gjpeap1c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23125 { # INITIAL ROTATION (Slow)
criteria {
[23107] = 1 # INITIAL GJPE
[53] > 0
[53] < 270
}
results {
action:assign(23180, 1) # INITIAL ROTATION (Medium-Fast)
action:assign(23181, 1) # INITIAL ROTATION (Medium-Slow)
action:assign(23114, 1) # GJPE Slow Pana Rotation
action:assign(23125, 1) # INITIAL ROTATION (Slow)
action:assign(23126, 1) # INITIAL ROTATION (Medium)
action:assign(23127, 1) # INITIAL ROTATION (Fast)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23126 { # INITIAL ROTATION (Medium)
criteria {
[23107] = 1 # INITIAL GJPE
[53] > 449
[53] < 630
}
results {
action:assign(23180, 1) # INITIAL ROTATION (Medium-Fast)
action:assign(23181, 1) # INITIAL ROTATION (Medium-Slow)
action:assign(23125, 1) # INITIAL ROTATION (Slow)
action:assign(23126, 1) # INITIAL ROTATION (Medium)
action:assign(23127, 1) # INITIAL ROTATION (Fast)
action:assign(23113, 1) # GJPE Medium Pana Rotation
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23127 { # INITIAL ROTATION (Fast)
criteria {
[23107] = 1 # INITIAL GJPE
[53] = 0
}
results {
action:assign(23180, 1) # INITIAL ROTATION (Medium-Fast)
action:assign(23181, 1) # INITIAL ROTATION (Medium-Slow)
action:assign(23112, 1) # GJPE Fast Pana Rotation
action:assign(23125, 1) # INITIAL ROTATION (Slow)
action:assign(23126, 1) # INITIAL ROTATION (Medium)
action:assign(23127, 1) # INITIAL ROTATION (Fast)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
#puzzle:23160 { # GJPE Exit Button_nav
# criteria {
# [23158] = 1 # GJPE Exit Button
# }
# results {
# action:assign(23158, 0) # GJPE Exit Button
# action:preferences(save)
# action:quit()
# }
# flags {
# ONCE_PER_INST
# }
#}
puzzle:23175 { # GJPE Venus Puzzle Lockout
criteria {
[23107] = 1 # INITIAL GJPE
[23109] = 2 # GJPE Venus Toggle
}
results {
action:disable_control(23109) # GJPE Venus Toggle
action:set_partial_screen(0 165 gjpeah2c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23179 { # GJPE Return to Game_nav
criteria {
[23178] = 1 # GJPE Return to Game
}
results {
action:assign(23178, 0) # GJPE Return to Game
action:preferences(save)
action:delay_render(10)
action:dissolve
event:change_location(0,0,00,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23180 { # INITIAL ROTATION (Medium-Fast)
criteria {
[23107] = 1 # INITIAL GJPE
[53] > 629
}
results {
action:assign(23180, 1) # INITIAL ROTATION (Medium-Fast)
action:assign(23181, 1) # INITIAL ROTATION (Medium-Slow)
action:assign(23125, 1) # INITIAL ROTATION (Slow)
action:assign(23126, 1) # INITIAL ROTATION (Medium)
action:assign(23127, 1) # INITIAL ROTATION (Fast)
action:assign(23182, 1) # GJPE Medium-Fast Pana Rotation
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23181 { # INITIAL ROTATION (Medium-Slow)
criteria {
[23107] = 1 # INITIAL GJPE
[53] > 269
[53] < 450
}
results {
action:assign(23180, 1) # INITIAL ROTATION (Medium-Fast)
action:assign(23181, 1) # INITIAL ROTATION (Medium-Slow)
action:assign(23125, 1) # INITIAL ROTATION (Slow)
action:assign(23126, 1) # INITIAL ROTATION (Medium)
action:assign(23127, 1) # INITIAL ROTATION (Fast)
action:assign(23183, 1) # GJPE Medium-Slow Pana Rotation
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23184 { # GJPE Medium-Fast Rotation Puzzle
criteria {
[23182] = 1 # GJPE Medium-Fast Pana Rotation
}
results {
action:assign(23122, 0) # GJPE Medium Rotation Puzzle
action:assign(23123, 0) # GJPE Slow Rotation Puzzle
action:assign(23121, 0) # GJPE Fast Rotation Puzzle
action:assign(53, 720)
action:assign(23182, 0) # GJPE Medium-Fast Pana Rotation
action:assign(23185, 0) # GJPE Medium-Slow Rotation Puzzle
action:assign(23184, 0) # GJPE Medium-Fast Rotation Puzzle
action:enable_control(23113) # GJPE Medium Pana Rotation
action:enable_control(23114) # GJPE Slow Pana Rotation
action:enable_control(23183) # GJPE Medium-Slow Pana Rotation
action:enable_control(23112) # GJPE Fast Pana Rotation
action:disable_control(23182) # GJPE Medium-Fast Pana Rotation
action:set_partial_screen(176 0 gjpeap4c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23185 { # GJPE Medium-Slow Rotation Puzzle
criteria {
[23183] = 1 # GJPE Medium-Slow Pana Rotation
}
results {
action:assign(23121, 0) # GJPE Fast Rotation Puzzle
action:assign(23123, 0) # GJPE Slow Rotation Puzzle
action:assign(23122, 0) # GJPE Medium Rotation Puzzle
action:assign(53, 360)
action:assign(23183, 0) # GJPE Medium-Slow Pana Rotation
action:assign(23185, 0) # GJPE Medium-Slow Rotation Puzzle
action:assign(23184, 0) # GJPE Medium-Fast Rotation Puzzle
action:enable_control(23112) # GJPE Fast Pana Rotation
action:enable_control(23114) # GJPE Slow Pana Rotation
action:disable_control(23183) # GJPE Medium-Slow Pana Rotation
action:enable_control(23182) # GJPE Medium-Fast Pana Rotation
action:enable_control(23113) # GJPE Medium Pana Rotation
action:set_partial_screen(176 0 gjpeap2c.tga 0 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23186 { # INITIAL GJPE SCORE 0
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 0
}
results {
action:set_partial_screen(0 0 gjpebs0c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23187 { # INITIAL GJPE SCORE 1
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 1
}
results {
action:set_partial_screen(0 0 gjpebs1c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23188 { # INITIAL GJPE SCORE 2
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 2
}
results {
action:set_partial_screen(0 0 gjpebs2c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23189 { # INITIAL GJPE SCORE 3
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 3
}
results {
action:set_partial_screen(0 0 gjpebs3c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23190 { # INITIAL GJPE SCORE 4
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 4
}
results {
action:set_partial_screen(0 0 gjpebs4c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23191 { # INITIAL GJPE SCORE 5
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 5
}
results {
action:set_partial_screen(0 0 gjpebs5c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23192 { # INITIAL GJPE SCORE 6
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 6
}
results {
action:set_partial_screen(0 0 gjpebs6c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23193 { # INITIAL GJPE SCORE 7
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 7
}
results {
action:set_partial_screen(0 0 gjpebs7c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23194 { # INITIAL GJPE SCORE 8
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 8
}
results {
action:set_partial_screen(0 0 gjpebs8c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23195 { # INITIAL GJPE SCORE 9
criteria {
[23107] = 1 # INITIAL GJPE
[221] = 9
}
results {
action:set_partial_screen(0 0 gjpebs9c.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:23198 { # GJPE Play Venus Sound
criteria {
[23177] ! [58]
[23107] = 1 # INITIAL GJPE
}
results {
action:assign(23198, 0) # GJPE Play Venus Sound
action:assign(23177, [58])
background:music:23199(0 gjpeh4tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23200 { # GJPE Play Pana Setting Sound
criteria {
[23107] = 1 # INITIAL GJPE
[23196] ! [53]
}
results {
action:assign(23196, [53])
action:assign(23200, 0) # GJPE Play Pana Setting Sound
background:music:23201(0 gjpeh3tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23202 { # GJPE Play Box Open Sound
criteria {
[23197] ! [57]
[23107] = 1 # INITIAL GJPE
[23110] = 1 # GJPE 3D Sound Toggle
}
results {
action:assign(23204, 0) # GJPE Play Box Close Sound
action:assign(23197, [57])
background:music:23203(0 gjpeh1tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:23204 { # GJPE Play Box Close Sound
criteria {
[23197] ! [57]
[23107] = 1 # INITIAL GJPE
[23110] = 0 # GJPE 3D Sound Toggle
}
results {
action:assign(23202, 0) # GJPE Play Box Open Sound
action:assign(23197, [57])
background:music:23205(0 gjpeh2tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
# Inserted puzzles ..
puzzle:02608 { # GJPE Subtitles On
criteria {
[23107] = 1 # INITIAL GJPE
[02609] = 1 # GJPE Subtitle State
}
results {
action:set_partial_screen(338 24 gjpeaabc.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:02610 { # GJPE Subtitles Off
criteria {
[23107] = 1 # INITIAL GJPE
[02609] = 0 # GJPE Subtitle State
}
results {
action:set_partial_screen(338 24 gjpeaaac.tga 0 0)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:02611 { # toggle subtitle state
criteria {
[02609] = 0
[23158] = 1
}
results {
background:music:23205(0 Tl1eq2tc.raw 0)
action:assign(02609, 1)
action:assign(51, 1)
action:assign(02611, 0)
action:assign(02608, 0)
action:assign(02610, 0)
action:assign(23158, 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:02612 {
criteria {
[02609] = 1
[23158] = 1
}
results {
background:music:23205(0 Tl1eq2tc.raw 0)
action:assign(02609, 0);
action:assign(51, 0);
action:assign(02608, 0);
action:assign(02610, 0)
action:assign(02612, 0)
action:assign(23158, 0)
}
flags {
ONCE_PER_INST
}
}
# CONTROLS
control:23108 push_toggle { # GJPE Tech Help Toggle
flat_hotspot(341,0,169,161)
cursor(active)
}
control:23109 push_toggle { # GJPE Venus Toggle
flat_hotspot(4,165,169,153)
cursor(active)
}
control:23110 push_toggle { # GJPE 3D Sound Toggle
flat_hotspot(175,165,163,153)
cursor(active)
}
control:23112 push_toggle { # GJPE Fast Pana Rotation
flat_hotspot(198,22,29,39)
cursor(active)
}
control:23113 push_toggle { # GJPE Medium Pana Rotation
flat_hotspot(221,80,37,38)
cursor(active)
}
control:23114 push_toggle { # GJPE Slow Pana Rotation
flat_hotspot(287,101,36,38)
cursor(active)
}
control:23158 push_toggle { # GJPE Subtitle Button
flat_hotspot(342,0,169,161)
cursor(active)
}
# state 23177 has been reserved as a global variable (GJPE Last Venus Position)
control:23178 push_toggle { # GJPE Return to Game
flat_hotspot(340,165,171,153)
cursor(active)
}
control:23182 push_toggle { # GJPE Medium-Fast Pana Rotation
flat_hotspot(211,53,23,28)
cursor(active)
}
control:23183 push_toggle { # GJPE Medium-Slow Pana Rotation
flat_hotspot(262,105,26,22)
cursor(active)
}
# state 23196 has been reserved as a global variable (GJPE Last Pana Position)
# state 23197 has been reserved as a global variable (GJPE Last Qsound Position)
# AUTO-BACKWARDS PUZZLES AND CONTROLS
control:25500 flat {
}